package com.migo.service;

import com.migo.dto.QueryMyTemplateResultDTO;
import com.migo.entity.MaterialPublicEntity;

import java.util.List;
import java.util.Map;

/**
 * 素材公开表
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2021-03-01 11:12:00
 */
public interface MaterialPublicService {
	
	MaterialPublicEntity queryObject(String id);
	
	List<MaterialPublicEntity> queryList(Map<String, Object> map);

	int queryTotal(Map<String, Object> map);
	
	void save(MaterialPublicEntity materialPublic);
	
	void update(MaterialPublicEntity materialPublic);
	
	void delete(String id);
	
	void deleteBatch(String[] ids);
}
